#ifndef _STRAWGUI_CRI_FRAME_H_
#define _STRAWGUI_CRI_FRAME_H_

#include "sComponentRectInstance.h"

namespace sgui
{
namespace res
{
	class sComponentRectFrame;
};
namespace inst
{

class sComponentRectFrame: public inst::sComponentRectInstance
{
private:
    u32 m_frameState;
public:
    const u32 getFrameState() const { return m_frameState; }
    void setFrameState(u32 state) { m_frameState = state; }

	void draw(engine::sDrawStack& drawStack) const;

	sComponentRectFrame(const res::sComponentRectFrame& componentRect, sComponentInstance& instance, s32 id);
};

};
};

#endif